import Vue from 'vue';
import App from './App';
// 封装的网络请求
import 'utils/http.js';

// 导入 store
import store from '@/store/store.js';
//封装消息提示
uni.$showToast = (title = '数据加载失败！！！') => {
	uni.showToast({
		title,
		icon: 'none'
	});
};


Vue.config.productionTip = false;
App.mpType = 'app';

const app = new Vue({
	...App,
	// 注入 store
	store
});
app.$mount();
